import java.io.File;

public class Compresser {

	public Compresser(String filePath) {
		File file = new File(filePath);
		if (file.exists()) {
			TabFrequence tab = new TabFrequence(file);
			TabFrequence tabHeader = (TabFrequence) tab.clone();
			Arbre arbre = new Arbre(tab);
			new Convertir(file, arbre, tabHeader);
		} else {
			System.out.println("file not found");
		}
	}

}
